
from django.urls import path
from rest_framework import routers

from book.views import BookInfoViewSet

urlpatterns = [


]


# 自动生成路由
router=routers.DefaultRouter()
router.register('books',BookInfoViewSet)
print(router.urls)
urlpatterns+=router.urls
